﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SISCON.Model
{
    public class Session
    {
        private long _SessionId;
        private string _UserId;
        private string _UserName;
        private bool _IsActive;
        private long _CreatedBy;
        private DateTime _CreationDate;
        private long _LastUpdatedBy;
        private DateTime _LastUpdateDate;
        private string _SessionUuid;

        public long SessionId
        {
            get { return _SessionId; }
            set { _SessionId = value; }
        }
        public string UserId
        {
            get { return _UserId; }
            set { _UserId = value; }
        }
        public string Username
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        public bool IsActive
        {
            get { return _IsActive; }
            set { _IsActive = value; }
        }
        public long CreatedBy
        {
            get { return _CreatedBy; }
            set { _CreatedBy = value; }
        }
        public DateTime CreationDate
        {
            get { return _CreationDate; }
            set { _CreationDate = value; }
        }
        public string CreationDateStr
        {
            get { return _CreationDate.ToString("dd/MM/yyyy HH:mm"); }
            set { }
        }

        public long LastUpdatedBy
        {
            get { return _LastUpdatedBy; }
            set { _LastUpdatedBy = value; }
        }
        public DateTime LastUpdateDate
        {
            get { return _LastUpdateDate; }
            set { _LastUpdateDate = value; }
        }
        public string LastUpdateDateStr
        {
            get { return _LastUpdateDate.ToString("dd/MM/yyyy HH:mm"); }
            set { }
        }
        public string SessionUuid
        {
            get { return _SessionUuid; }
            set { _SessionUuid = value; }
        }

    }

}